package com.google.code.yargon.ui;

public class Tile {
	
	private String tileName;
	private float x;
	private float y;
	private float w;
	private float h;
	
	public Tile(String tileName, float x, float y, float w, float h) {
		this.tileName = tileName;
		this.x = x;
		this.y = y;
		this.w = w;
		this.h = h;
	}
	
	public String getTileName() {
		return this.tileName;
	}
	
	public float getX() {
		return this.x;
	}
	
	public float getY() {
		return this.y;
	}
	
	public float getW() {
		return this.w;
	}
	
	public float getH() {
		return this.h;
	}
	
	public String toString() {
		return tileName + ": "+x+","+y+"; "+w+"x"+h;
	}
}
